package maps

// Returns the keys of map m.
func Keys[M ~map[K]V, K comparable, V any](m M) (keys []K) {
	for key := range m {
		keys = append(keys, key)
	}

	return
}
